<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: QwtPlotGLCanvas Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_plot_g_l_canvas.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_qwt_plot_g_l_canvas-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QwtPlotGLCanvas Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>An alternative canvas for a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> derived from QGLWidget.  
 <a href="class_qwt_plot_g_l_canvas.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__plot__glcanvas_8h_source.html">qwt_plot_glcanvas.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtPlotGLCanvas:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="class_qwt_plot_g_l_canvas__inherit__graph.svg" width="304" height="187"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:af2bf82a971fcea76dab92da15a859c67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#af2bf82a971fcea76dab92da15a859c67">replot</a> ()</td></tr>
<tr class="separator:af2bf82a971fcea76dab92da15a859c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adc7704723f078ff57243a2e2fc217832"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#adc7704723f078ff57243a2e2fc217832">QwtPlotGLCanvas</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *=NULL)</td></tr>
<tr class="memdesc:adc7704723f078ff57243a2e2fc217832"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_qwt_plot_g_l_canvas.html#adc7704723f078ff57243a2e2fc217832">More...</a><br /></td></tr>
<tr class="separator:adc7704723f078ff57243a2e2fc217832"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcfc7a4b768e084f5331fb182f6f1318"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#afcfc7a4b768e084f5331fb182f6f1318">QwtPlotGLCanvas</a> (const QGLFormat &amp;, <a class="el" href="class_qwt_plot.html">QwtPlot</a> *=NULL)</td></tr>
<tr class="memdesc:afcfc7a4b768e084f5331fb182f6f1318"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_qwt_plot_g_l_canvas.html#afcfc7a4b768e084f5331fb182f6f1318">More...</a><br /></td></tr>
<tr class="separator:afcfc7a4b768e084f5331fb182f6f1318"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a330939a56e289c42bcfbee2d82ef8347"><td class="memItemLeft" align="right" valign="top"><a id="a330939a56e289c42bcfbee2d82ef8347"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#a330939a56e289c42bcfbee2d82ef8347">~QwtPlotGLCanvas</a> ()</td></tr>
<tr class="memdesc:a330939a56e289c42bcfbee2d82ef8347"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a330939a56e289c42bcfbee2d82ef8347"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a3ee293ae9564bce107bf7575edf10d"><td class="memItemLeft" align="right" valign="top"><a id="a7a3ee293ae9564bce107bf7575edf10d"></a>
virtual Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#a7a3ee293ae9564bce107bf7575edf10d">invalidateBackingStore</a> () override</td></tr>
<tr class="memdesc:a7a3ee293ae9564bce107bf7575edf10d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidate the internal backing store. <br /></td></tr>
<tr class="separator:a7a3ee293ae9564bce107bf7575edf10d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a525fca9ded8253c67ce701a76bcc963e"><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#a525fca9ded8253c67ce701a76bcc963e">borderPath</a> (const QRect &amp;) const</td></tr>
<tr class="separator:a525fca9ded8253c67ce701a76bcc963e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa46f9d209bc4d7e862bfdc4b5aeb1fdb"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#aa46f9d209bc4d7e862bfdc4b5aeb1fdb">event</a> (QEvent *) override</td></tr>
<tr class="separator:aa46f9d209bc4d7e862bfdc4b5aeb1fdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_qwt_plot_abstract_g_l_canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_plot_abstract_g_l_canvas')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_plot_abstract_g_l_canvas.html">QwtPlotAbstractGLCanvas</a></td></tr>
<tr class="memitem:a01b77ab2810c87a13ee505ef098e0e50 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a01b77ab2810c87a13ee505ef098e0e50">QwtPlotAbstractGLCanvas</a> (QWidget *<a class="el" href="class_qwt_plot_abstract_canvas.html#abc7038a26849383306f0965fde6ead62">canvasWidget</a>)</td></tr>
<tr class="memdesc:a01b77ab2810c87a13ee505ef098e0e50 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_qwt_plot_abstract_g_l_canvas.html#a01b77ab2810c87a13ee505ef098e0e50">More...</a><br /></td></tr>
<tr class="separator:a01b77ab2810c87a13ee505ef098e0e50 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab915d560048c3ecf0be21d60436d039e inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top"><a id="ab915d560048c3ecf0be21d60436d039e"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#ab915d560048c3ecf0be21d60436d039e">~QwtPlotAbstractGLCanvas</a> ()</td></tr>
<tr class="memdesc:ab915d560048c3ecf0be21d60436d039e inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:ab915d560048c3ecf0be21d60436d039e inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a278a9972f985a8ccaa144442961a156d inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a278a9972f985a8ccaa144442961a156d">setPaintAttribute</a> (<a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a91d7bb721b06f3ef68d0a64db7104f68">PaintAttribute</a>, bool on=true)</td></tr>
<tr class="memdesc:a278a9972f985a8ccaa144442961a156d inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changing the paint attributes.  <a href="class_qwt_plot_abstract_g_l_canvas.html#a278a9972f985a8ccaa144442961a156d">More...</a><br /></td></tr>
<tr class="separator:a278a9972f985a8ccaa144442961a156d inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04f62daffa3960b08a05f03214b71bfd inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a04f62daffa3960b08a05f03214b71bfd">testPaintAttribute</a> (<a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a91d7bb721b06f3ef68d0a64db7104f68">PaintAttribute</a>) const</td></tr>
<tr class="separator:a04f62daffa3960b08a05f03214b71bfd inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af514ee86e15ba8f8be812cb4c93d1710 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#af514ee86e15ba8f8be812cb4c93d1710">setFrameStyle</a> (int style)</td></tr>
<tr class="separator:af514ee86e15ba8f8be812cb4c93d1710 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f28c222abd6892f2bc3b05a7009f752 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a4f28c222abd6892f2bc3b05a7009f752">frameStyle</a> () const</td></tr>
<tr class="separator:a4f28c222abd6892f2bc3b05a7009f752 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb37aa5c62dc82352a9ed0c596e4e136 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#adb37aa5c62dc82352a9ed0c596e4e136">setFrameShadow</a> (QFrame::Shadow)</td></tr>
<tr class="separator:adb37aa5c62dc82352a9ed0c596e4e136 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ab2617a928757e6bbc43dbbbde19799 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">QFrame::Shadow&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a4ab2617a928757e6bbc43dbbbde19799">frameShadow</a> () const</td></tr>
<tr class="separator:a4ab2617a928757e6bbc43dbbbde19799 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94191d6d1e982de669ea9dfcc82b6a27 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a94191d6d1e982de669ea9dfcc82b6a27">setFrameShape</a> (QFrame::Shape)</td></tr>
<tr class="separator:a94191d6d1e982de669ea9dfcc82b6a27 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e90be7bacce045591ab3246ff9e015c inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">QFrame::Shape&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a9e90be7bacce045591ab3246ff9e015c">frameShape</a> () const</td></tr>
<tr class="separator:a9e90be7bacce045591ab3246ff9e015c inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15748428948a5ea5594309862c898a8c inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a15748428948a5ea5594309862c898a8c">setLineWidth</a> (int)</td></tr>
<tr class="separator:a15748428948a5ea5594309862c898a8c inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9527056155d7f5685450dc193f71a95b inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a9527056155d7f5685450dc193f71a95b">lineWidth</a> () const</td></tr>
<tr class="separator:a9527056155d7f5685450dc193f71a95b inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61d461e90b1d6ff2729c8b32edaea6c8 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a61d461e90b1d6ff2729c8b32edaea6c8">setMidLineWidth</a> (int)</td></tr>
<tr class="separator:a61d461e90b1d6ff2729c8b32edaea6c8 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a697f2181b8471d47e58f6347823a5f08 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a697f2181b8471d47e58f6347823a5f08">midLineWidth</a> () const</td></tr>
<tr class="separator:a697f2181b8471d47e58f6347823a5f08 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e1713e825582efd0d57b6b8ab8bcd2 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a69e1713e825582efd0d57b6b8ab8bcd2">frameWidth</a> () const</td></tr>
<tr class="separator:a69e1713e825582efd0d57b6b8ab8bcd2 inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f31743e0718815a196b1f39089c23b inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a09f31743e0718815a196b1f39089c23b">frameRect</a> () const</td></tr>
<tr class="separator:a09f31743e0718815a196b1f39089c23b inherit pub_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_qwt_plot_abstract_canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_plot_abstract_canvas')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_plot_abstract_canvas.html">QwtPlotAbstractCanvas</a></td></tr>
<tr class="memitem:aa3c4bffad9a91993af7e868ec953ca4b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#aa3c4bffad9a91993af7e868ec953ca4b">QwtPlotAbstractCanvas</a> (QWidget *<a class="el" href="class_qwt_plot_abstract_canvas.html#abc7038a26849383306f0965fde6ead62">canvasWidget</a>)</td></tr>
<tr class="memdesc:aa3c4bffad9a91993af7e868ec953ca4b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_qwt_plot_abstract_canvas.html#aa3c4bffad9a91993af7e868ec953ca4b">More...</a><br /></td></tr>
<tr class="separator:aa3c4bffad9a91993af7e868ec953ca4b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46f3b6b4aaa8894ed61af7af4a50eeb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a46f3b6b4aaa8894ed61af7af4a50eeb7"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a46f3b6b4aaa8894ed61af7af4a50eeb7">~QwtPlotAbstractCanvas</a> ()</td></tr>
<tr class="memdesc:a46f3b6b4aaa8894ed61af7af4a50eeb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a46f3b6b4aaa8894ed61af7af4a50eeb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10e97dd727e348c4db9da0959ff6df1b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a10e97dd727e348c4db9da0959ff6df1b"></a>
<a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a10e97dd727e348c4db9da0959ff6df1b">plot</a> ()</td></tr>
<tr class="memdesc:a10e97dd727e348c4db9da0959ff6df1b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return parent plot widget. <br /></td></tr>
<tr class="separator:a10e97dd727e348c4db9da0959ff6df1b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a626a55bf373591b92cbf74276be25a2b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a626a55bf373591b92cbf74276be25a2b"></a>
const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a626a55bf373591b92cbf74276be25a2b">plot</a> () const</td></tr>
<tr class="memdesc:a626a55bf373591b92cbf74276be25a2b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return parent plot widget. <br /></td></tr>
<tr class="separator:a626a55bf373591b92cbf74276be25a2b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a495da46835c4e2d38b90c791903bb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a3a495da46835c4e2d38b90c791903bb7">setFocusIndicator</a> (<a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981">FocusIndicator</a>)</td></tr>
<tr class="separator:a3a495da46835c4e2d38b90c791903bb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a495fd02cb4d3bef4bb34191db1f5d08c inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981">FocusIndicator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a495fd02cb4d3bef4bb34191db1f5d08c">focusIndicator</a> () const</td></tr>
<tr class="separator:a495fd02cb4d3bef4bb34191db1f5d08c inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0422767eac9e6d088dcccc847cf5c1a inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#ae0422767eac9e6d088dcccc847cf5c1a">setBorderRadius</a> (double)</td></tr>
<tr class="separator:ae0422767eac9e6d088dcccc847cf5c1a inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77c7d64477d23aedc75b866e5a9940c2 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a77c7d64477d23aedc75b866e5a9940c2">borderRadius</a> () const</td></tr>
<tr class="separator:a77c7d64477d23aedc75b866e5a9940c2 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ac2f0b18dd1b26db455a57599049c69b6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#ac2f0b18dd1b26db455a57599049c69b6">paintEvent</a> (QPaintEvent *) override</td></tr>
<tr class="separator:ac2f0b18dd1b26db455a57599049c69b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6401b6d2be7ced82110ad723eaea4cbf"><td class="memItemLeft" align="right" valign="top"><a id="a6401b6d2be7ced82110ad723eaea4cbf"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#a6401b6d2be7ced82110ad723eaea4cbf">initializeGL</a> () override</td></tr>
<tr class="memdesc:a6401b6d2be7ced82110ad723eaea4cbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">No operation - reserved for some potential use in the future. <br /></td></tr>
<tr class="separator:a6401b6d2be7ced82110ad723eaea4cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabf00315a1ae0003442478996dd1c178"><td class="memItemLeft" align="right" valign="top"><a id="aabf00315a1ae0003442478996dd1c178"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#aabf00315a1ae0003442478996dd1c178">paintGL</a> () override</td></tr>
<tr class="memdesc:aabf00315a1ae0003442478996dd1c178"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint the plot. <br /></td></tr>
<tr class="separator:aabf00315a1ae0003442478996dd1c178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9f603cc0eb9150cf4d6c55932f75013"><td class="memItemLeft" align="right" valign="top"><a id="ad9f603cc0eb9150cf4d6c55932f75013"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_g_l_canvas.html#ad9f603cc0eb9150cf4d6c55932f75013">resizeGL</a> (int width, int height) override</td></tr>
<tr class="memdesc:ad9f603cc0eb9150cf4d6c55932f75013"><td class="mdescLeft">&#160;</td><td class="mdescRight">No operation - reserved for some potential use in the future. <br /></td></tr>
<tr class="separator:ad9f603cc0eb9150cf4d6c55932f75013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_qwt_plot_abstract_g_l_canvas"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_plot_abstract_g_l_canvas')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_plot_abstract_g_l_canvas.html">QwtPlotAbstractGLCanvas</a></td></tr>
<tr class="memitem:a9618a6dd76617768afefd23e5f16e559 inherit pro_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a9618a6dd76617768afefd23e5f16e559">replot</a> ()</td></tr>
<tr class="separator:a9618a6dd76617768afefd23e5f16e559 inherit pro_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af741999be11efb4d966d3f8cbec098d0 inherit pro_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top"><a id="af741999be11efb4d966d3f8cbec098d0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#af741999be11efb4d966d3f8cbec098d0">draw</a> (QPainter *)</td></tr>
<tr class="memdesc:af741999be11efb4d966d3f8cbec098d0 inherit pro_methods_class_qwt_plot_abstract_g_l_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:af741999be11efb4d966d3f8cbec098d0 inherit pro_methods_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_qwt_plot_abstract_canvas"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_plot_abstract_canvas')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_plot_abstract_canvas.html">QwtPlotAbstractCanvas</a></td></tr>
<tr class="memitem:abc7038a26849383306f0965fde6ead62 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#abc7038a26849383306f0965fde6ead62">canvasWidget</a> ()</td></tr>
<tr class="separator:abc7038a26849383306f0965fde6ead62 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ee7c0c88d9dc5bd9d66fd3fb51ab923 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a4ee7c0c88d9dc5bd9d66fd3fb51ab923">canvasWidget</a> () const</td></tr>
<tr class="separator:a4ee7c0c88d9dc5bd9d66fd3fb51ab923 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad38a26aca5a3b20033b34a95b97383cc inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#ad38a26aca5a3b20033b34a95b97383cc">drawFocusIndicator</a> (QPainter *)</td></tr>
<tr class="separator:ad38a26aca5a3b20033b34a95b97383cc inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a979b759498bc7c72943d37f4d483d93e inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a979b759498bc7c72943d37f4d483d93e">drawBorder</a> (QPainter *)</td></tr>
<tr class="separator:a979b759498bc7c72943d37f4d483d93e inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2143778283984cecb89759205f454e64 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a2143778283984cecb89759205f454e64"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a2143778283984cecb89759205f454e64">drawBackground</a> (QPainter *)</td></tr>
<tr class="memdesc:a2143778283984cecb89759205f454e64 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:a2143778283984cecb89759205f454e64 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0427d621552a00c343c6e5fc93d99162 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a0427d621552a00c343c6e5fc93d99162"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a0427d621552a00c343c6e5fc93d99162">fillBackground</a> (QPainter *)</td></tr>
<tr class="memdesc:a0427d621552a00c343c6e5fc93d99162 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:a0427d621552a00c343c6e5fc93d99162 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa631df03151913fa349cfd7408ecadae inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="aa631df03151913fa349cfd7408ecadae"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#aa631df03151913fa349cfd7408ecadae">drawCanvas</a> (QPainter *)</td></tr>
<tr class="memdesc:aa631df03151913fa349cfd7408ecadae inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot to the canvas. <br /></td></tr>
<tr class="separator:aa631df03151913fa349cfd7408ecadae inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa697dd86bc0fb1a2688f5eec6a61c570 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="aa697dd86bc0fb1a2688f5eec6a61c570"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#aa697dd86bc0fb1a2688f5eec6a61c570">drawStyled</a> (QPainter *, bool)</td></tr>
<tr class="memdesc:aa697dd86bc0fb1a2688f5eec6a61c570 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:aa697dd86bc0fb1a2688f5eec6a61c570 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a377a99395d6d41b4ef5d168d3364a62b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a377a99395d6d41b4ef5d168d3364a62b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a377a99395d6d41b4ef5d168d3364a62b">drawUnstyled</a> (QPainter *)</td></tr>
<tr class="memdesc:a377a99395d6d41b4ef5d168d3364a62b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:a377a99395d6d41b4ef5d168d3364a62b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9642475627e053a34aa86d8eee7ee76b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a9642475627e053a34aa86d8eee7ee76b">canvasBorderPath</a> (const QRect &amp;rect) const</td></tr>
<tr class="separator:a9642475627e053a34aa86d8eee7ee76b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f54ce793996e1cd2276e1d34f973205 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a4f54ce793996e1cd2276e1d34f973205"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a4f54ce793996e1cd2276e1d34f973205">updateStyleSheetInfo</a> ()</td></tr>
<tr class="memdesc:a4f54ce793996e1cd2276e1d34f973205 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the cached information about the current style sheet. <br /></td></tr>
<tr class="separator:a4f54ce793996e1cd2276e1d34f973205 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_qwt_plot_abstract_g_l_canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_qwt_plot_abstract_g_l_canvas')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_qwt_plot_abstract_g_l_canvas.html">QwtPlotAbstractGLCanvas</a></td></tr>
<tr class="memitem:a91d7bb721b06f3ef68d0a64db7104f68 inherit pub_types_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a91d7bb721b06f3ef68d0a64db7104f68">PaintAttribute</a> { <a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a91d7bb721b06f3ef68d0a64db7104f68a80885b8e4fe5d90bfd6fdf46af0508a7">BackingStore</a> = 1
, <a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a91d7bb721b06f3ef68d0a64db7104f68ab3d6d25231b1dd144f9d18ab7e7c4014">ImmediatePaint</a> = 8
 }</td></tr>
<tr class="memdesc:a91d7bb721b06f3ef68d0a64db7104f68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint attributes.  <a href="class_qwt_plot_abstract_g_l_canvas.html#a91d7bb721b06f3ef68d0a64db7104f68">More...</a><br /></td></tr>
<tr class="separator:a91d7bb721b06f3ef68d0a64db7104f68 inherit pub_types_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8e5f1cdbdf9ccb5b386f4c1627c03fd inherit pub_types_class_qwt_plot_abstract_g_l_canvas"><td class="memItemLeft" align="right" valign="top">typedef QFlags&lt; <a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#a91d7bb721b06f3ef68d0a64db7104f68">PaintAttribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_g_l_canvas.html#ae8e5f1cdbdf9ccb5b386f4c1627c03fd">PaintAttributes</a></td></tr>
<tr class="memdesc:ae8e5f1cdbdf9ccb5b386f4c1627c03fd inherit pub_types_class_qwt_plot_abstract_g_l_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint attributes.  <a href="class_qwt_plot_abstract_g_l_canvas.html#ae8e5f1cdbdf9ccb5b386f4c1627c03fd">More...</a><br /></td></tr>
<tr class="separator:ae8e5f1cdbdf9ccb5b386f4c1627c03fd inherit pub_types_class_qwt_plot_abstract_g_l_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_class_qwt_plot_abstract_canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_qwt_plot_abstract_canvas')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_qwt_plot_abstract_canvas.html">QwtPlotAbstractCanvas</a></td></tr>
<tr class="memitem:af25d84f7db52c78294f0413f2c8e1981 inherit pub_types_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981">FocusIndicator</a> { <a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981a071002805f6527e7f110b1c00b758de7">NoFocusIndicator</a>
, <a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981af4f3227062ae3588fb2a8650962c4236">CanvasFocusIndicator</a>
, <a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981a644c15e4787a6bf488fc2bc5ede912db">ItemFocusIndicator</a>
 }</td></tr>
<tr class="memdesc:af25d84f7db52c78294f0413f2c8e1981"><td class="mdescLeft">&#160;</td><td class="mdescRight">Focus indicator The default setting is NoFocusIndicator.  <a href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981">More...</a><br /></td></tr>
<tr class="separator:af25d84f7db52c78294f0413f2c8e1981 inherit pub_types_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An alternative canvas for a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> derived from QGLWidget. </p>
<p><a class="el" href="class_qwt_plot_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QGLWidget.">QwtPlotGLCanvas</a> implements the very basics to act as canvas inside of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> widget. It might be extended to a full featured alternative to <a class="el" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a> in a future version of Qwt.</p>
<p>Even if <a class="el" href="class_qwt_plot_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QGLWidget.">QwtPlotGLCanvas</a> is not derived from QFrame it imitates its API. When using style sheets it supports the box model - beside backgrounds with rounded borders.</p>
<p>Since Qt 5.4 QOpenGLWidget is available, that is used by <a class="el" href="class_qwt_plot_open_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QOpenGLWidget.">QwtPlotOpenGLCanvas</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf" title="Set the drawing canvas of the plot widget.">QwtPlot::setCanvas()</a>, <a class="el" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a>, <a class="el" href="class_qwt_plot_open_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QOpenGLWidget.">QwtPlotOpenGLCanvas</a></dd></dl>
<dl class="section note"><dt>Note</dt><dd>With Qt4 you might want to use the QPaintEngine::OpenGL paint engine ( see QGL::setPreferredPaintEngine() ). On a Linux test system QPaintEngine::OpenGL2 shows very basic problems like translated geometries.</dd>
<dd>
Another way for getting hardware accelerated graphics is using an OpenGL offscreen buffer ( QwtPlotCanvas::OpenGLBuffer ) with <a class="el" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a>. Performance is worse, than rendering straight to a QGLWidget, but is usually better integrated into a desktop application. </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__glcanvas_8h_source.html#l00045">45</a> of file <a class="el" href="qwt__plot__glcanvas_8h_source.html">qwt_plot_glcanvas.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="adc7704723f078ff57243a2e2fc217832"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc7704723f078ff57243a2e2fc217832">&#9670;&nbsp;</a></span>QwtPlotGLCanvas() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotGLCanvas::QwtPlotGLCanvas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
          <td class="paramname"><em>plot</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">plot</td><td>Parent plot widget </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf" title="Set the drawing canvas of the plot widget.">QwtPlot::setCanvas()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__glcanvas_8cpp_source.html#l00056">56</a> of file <a class="el" href="qwt__plot__glcanvas_8cpp_source.html">qwt_plot_glcanvas.cpp</a>.</p>

</div>
</div>
<a id="afcfc7a4b768e084f5331fb182f6f1318"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcfc7a4b768e084f5331fb182f6f1318">&#9670;&nbsp;</a></span>QwtPlotGLCanvas() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotGLCanvas::QwtPlotGLCanvas </td>
          <td>(</td>
          <td class="paramtype">const QGLFormat &amp;&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
          <td class="paramname"><em>plot</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">format</td><td>OpenGL rendering options </td></tr>
    <tr><td class="paramname">plot</td><td>Parent plot widget </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf" title="Set the drawing canvas of the plot widget.">QwtPlot::setCanvas()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__glcanvas_8cpp_source.html#l00069">69</a> of file <a class="el" href="qwt__plot__glcanvas_8cpp_source.html">qwt_plot_glcanvas.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a525fca9ded8253c67ce701a76bcc963e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a525fca9ded8253c67ce701a76bcc963e">&#9670;&nbsp;</a></span>borderPath()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPainterPath QwtPlotGLCanvas::borderPath </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calculate the painter path for a styled or rounded border</p>
<p>When the canvas has no styled background or rounded borders the painter path is empty.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>Bounding rectangle of the canvas </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Painter path, that can be used for clipping </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__glcanvas_8cpp_source.html#l00157">157</a> of file <a class="el" href="qwt__plot__glcanvas_8cpp_source.html">qwt_plot_glcanvas.cpp</a>.</p>

</div>
</div>
<a id="aa46f9d209bc4d7e862bfdc4b5aeb1fdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa46f9d209bc4d7e862bfdc4b5aeb1fdb">&#9670;&nbsp;</a></span>event()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotGLCanvas::event </td>
          <td>(</td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Qt event handler for QEvent::PolishRequest and QEvent::StyleChange </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Qt Event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See QGLWidget::event() </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__glcanvas_8cpp_source.html#l00110">110</a> of file <a class="el" href="qwt__plot__glcanvas_8cpp_source.html">qwt_plot_glcanvas.cpp</a>.</p>

</div>
</div>
<a id="ac2f0b18dd1b26db455a57599049c69b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2f0b18dd1b26db455a57599049c69b6">&#9670;&nbsp;</a></span>paintEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotGLCanvas::paintEvent </td>
          <td>(</td>
          <td class="paramtype">QPaintEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Paint event</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Paint event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#add1b88d8312e2671652d23f8181f2433">QwtPlot::drawCanvas()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__glcanvas_8cpp_source.html#l00100">100</a> of file <a class="el" href="qwt__plot__glcanvas_8cpp_source.html">qwt_plot_glcanvas.cpp</a>.</p>

</div>
</div>
<a id="af2bf82a971fcea76dab92da15a859c67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2bf82a971fcea76dab92da15a859c67">&#9670;&nbsp;</a></span>replot</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotGLCanvas::replot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Invalidate the paint cache and repaint the canvas </p><dl class="section see"><dt>See also</dt><dd>invalidatePaintCache() </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__glcanvas_8cpp_source.html#l00131">131</a> of file <a class="el" href="qwt__plot__glcanvas_8cpp_source.html">qwt_plot_glcanvas.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_qwt_plot_g_l_canvas.html">QwtPlotGLCanvas</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
